package com.casic.ops.entity.domain.pipeline;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 流水线节点配置信息实体类
 * @author cww
 * @date 2022/6/17
 */
@Data
@TableName("pipeline_node_info")
public class PipelineNodeInfoDO {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id",type= IdType.AUTO)
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /**
     * uuid
     */
    @TableField("uuid")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private long uuid;

    /**
     * node_uuid
     */
    @TableField("node_uuid")
    private String nodeUuid;

    /**
     * info
     */
    @TableField("info")
    private String info;

    /**
     * modifier
     */
    @TableField("modifier")
    private String modifier;

    /**
     * creator
     */
    @TableField("creator")
    private String creator;


    /**
     * gmt_create
     */
    @TableField("gmt_create")
    private Date gmt_create;

    /**
     * gmt_modified
     */
    @TableField("gmt_modified")
    private Date gmt_modified;

    /**
     * deleted
     */
    @TableLogic(value = "1",delval = "0")
    private String deleted;

    @TableField("node_name")
    private String nodeName;

}
